package com.clear.honghefinance.biz.modules.system.menu.domain.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 获取菜单列表VO
 * </p>
 */
@Getter
@Setter
public class ListTreeMenuVO implements Serializable {

    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "主键")
    private String key;

    /**
     * 菜单名称
     */
    @ApiModelProperty(value = "菜单名称")
    private String name;

    /**
     * icon
     */
    @ApiModelProperty(value = "icon")
    private String icon;


    /**
     * "默认是否选中
     */
    @ApiModelProperty(value = "默认是否选中")
    private Boolean checked;

    /**
     * 父节点id
     */
    @ApiModelProperty(value = "父节点id")
    private Integer pid;

    /**
     * 菜单路由
     */
    @ApiModelProperty(value = "菜单路由")
    private String path;

    /**
     * 顺序
     */
    @ApiModelProperty(value = "顺序")
    private Integer sort;

    /**
     * 是否隐藏菜单
     */
    @ApiModelProperty(value = "是否隐藏菜单")
    private Boolean hideInMenu;

    /**
     * 子菜单
     */
    @ApiModelProperty(value = "子菜单")
    private List<ListTreeMenuVO> children;
}